<!DOCTYPE html>
<!--v1.6.7.2 RDPROJECT-510 cx 2013-12-10 start  -->
<html>
<#include "../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "../report/left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="各标种借款期限统计">
                        <#include "banner.html">
                 <!--面包屑导航---}-->
                     <!--工具栏--}-->
                      <!--工具栏--{-->
			            <div id="toolbar" class="clearfix">
			            	<div class="toolbor-module export">
			            		<input type="button" onclick="exportxls()" value="导出报表" class="input-button export-btn"/>
			            	</div>	
			            		<div class="toolbor-module search">
			                  	 	<input type="button" value="搜索"  class="input-button" onclick="search();">
			                	</div>
			                    <div class="toolbor-module search">
			                        <div style="height:22px;line-height:22px;float:left;">年份：</div>
			                          <select id="isyear" name="isyear" >
			                            <option value="2020">2020</option>
			                            <option value="2019">2019</option>
			                            <option value="2018">2018</option>
			                            <option value="2017">2017</option>
			                            <option value="2016">2016</option>
			                            <option value="2015">2015</option>
			                            <option value="2014">2014</option>
			                           	<option value="2013">2013</option>
			                            <option value="2012">2012</option>
			                            <option value="2011">2011</option>
			                            <option value="2010">2010</option>
			                           </select>
			                     </div>
			                    </div>
			               </div>
                         <div id="main" class="clearfix">
                            <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                         	<td>月份</td>
                                            <td>成交总额（万）</td>
                                            <td>借款项目（个）</td>
                                            <td>发标笔数（笔）</td>
                                            <td>投资人数（人）</td>
                                            <td>注册会员（人）</td>
                                        </tr>
                                        <#list rmlist as item>
                                        	<tr class="s">
                                        		<td>${item.month!}</td>
                                        		<td>${item.totalPay!}</td>
                                        		<td>${item.countBorrow!}</td>
                                        		<td>${item.countFB!}</td>
                                        		<td>${item.countInvestor!}</td>
                                        		<td>${item.countHY!}</td>
                                        	</tr>
                                        </#list>
                                    </table>
                                <!--底部工具栏--}-->
                                </form>
                    	  	 <div id="bottomToolbar" class="clearfix">
	                   		 <div class="other-tool">
	                         <dl class="refresh-data">
	                            <dt class="refresh-data-icon"></dt>
	                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
	                         </dl>
	                         </div>
	                         <div class="container">
	             			   <#import "../../common/page.html" as pager>  
	         			     </div> 
	                     </div>
	                 </div>
            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>
<script type="text/javascript">
	$('#isyear').val('${isyear}');
	var urls=window.location.href;
	var index=urls.indexOf("?");
	if(index>0){
		 urls=urls.substring(0,index);
	}
	var xlsurl=urls+"?actionType=export";
	function search(){
		var search="";
		if($('#isyear').val()!=null){
			search+="&isyear="+$('#isyear').val();
		}
		location.href=urls+"?search=true"+search;
	}
	
	function exportxls(){
		var search="";
		if($('#isyear').val()!=null){
			search+="&isyear="+$('#isyear').val();
		}
        location.href=xlsurl+search;
    }
</script>
</body>
</html>
<#include "../jsPage.html">
<!--v1.6.7.2 RDPROJECT-510 cx 2013-12-10 end  -->